package dmqm.mall.mapper;

import dmqm.mall.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from mall_user where id = #{id}")
    User getUserById(@Param("id") int id);
}
